package com.ruoyi.base.domain;

import com.ruoyi.cems.domain.BmsBaseEntity;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

@Data
@ApiModel(description="会议对象")
public class BaseMeeting extends BmsBaseEntity {

    private static final long serialVersionUID = 1L;
    @ApiModelProperty("类型")
    private Integer type;
    @ApiModelProperty("会议名称")
    private String meetingName;
    @ApiModelProperty("会议号码")
    private String meetingNo;
    @ApiModelProperty("会议链接")
    private String meetingLink;


    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("ID", getID())
            .append("REVISION", getREVISION())
            .append("createdBy", getCreatedBy())
            .append("createdTime", getCreatedTime())
            .append("updatedBy", getUpdatedBy())
            .append("updatedTime", getUpdatedTime())
            .append("type", getType())
            .append("meetingName", getMeetingName())
            .append("meetingNo", getMeetingNo())
            .append("meetingLink", getMeetingLink())
            .toString();
    }
}
